package com.lonty.intelligence.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @Author 陈璇
 * @Date 2020/4/16 11:26
 * @Version 1.0
 **/
@Data
@ToString
@ApiModel(value = "保存用户信息参数对象")
public class UserInfoVo {

    @ApiModelProperty(name = "nickName", value = "用户名", required = true, dataType = "string")
    private String nickName;
    @ApiModelProperty(name = "gender", value = "性别", required = true, dataType = "int")
    private int gender;
    @ApiModelProperty(name = "avatarUrl", value = "头像", required = true, dataType = "string")
    private String avatarUrl;
    @ApiModelProperty(name = "city", value = "城市", required = true, dataType = "string")
    private String city;
    @ApiModelProperty(name = "province", value = "省份", required = true, dataType = "string")
    private String province;
    @ApiModelProperty(name = "country", value = "国家", required = true, dataType = "string")
    private String country;
    @ApiModelProperty(name = "language", value = "语言", required = true, dataType = "string")
    private String language;
    @ApiModelProperty(name = "telephone", value = "手机号", dataType = "string")
    private String telephone;
    @ApiModelProperty(name = "loginType", value = "登录类型(0:小程序登录 1:手机登录)", required = true, dataType = "int")
    private Integer loginType;
    @ApiModelProperty(name = "code", value = "获取openid需要的code", dataType = "int")
    private String code;

}
